import React from 'react';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';
const RouterMaster: React.FC = ({ children }) => {
    moment.locale('zh-cn');
    return <ConfigProvider locale={zhCN}>
        {children}
    </ConfigProvider>
}
export default RouterMaster;